package com.fortune.dto.in.clientOrder;

import java.math.BigDecimal;
import java.util.List;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

/**
 * Created by Administrator on 2018/5/28 0028.
 */
public class DClientOrderEditDto {
    @ApiModelProperty(example = "订单id")
    @NotBlank(message="订单id不能为空")
    private String ordersId;
    @ApiModelProperty(example="客户id")
    @NotBlank(message="客户id不能为空")
    private String ClientId;
    @ApiModelProperty(example = "商品总金额")
    private BigDecimal pTotalPrice;
    @ApiModelProperty(example = "押金金额")
    private BigDecimal dTotalPrice;
    private List<DOrderProductDto> products;
	public String getOrdersId() {
		return ordersId;
	}
	public void setOrdersId(String ordersId) {
		this.ordersId = ordersId;
	}
	public String getClientId() {
		return ClientId;
	}
	public void setClientId(String clientId) {
		ClientId = clientId;
	}
	public BigDecimal getpTotalPrice() {
		return pTotalPrice;
	}
	public void setpTotalPrice(BigDecimal pTotalPrice) {
		this.pTotalPrice = pTotalPrice;
	}
	public BigDecimal getdTotalPrice() {
		return dTotalPrice;
	}
	public void setdTotalPrice(BigDecimal dTotalPrice) {
		this.dTotalPrice = dTotalPrice;
	}
	public List<DOrderProductDto> getProducts() {
		return products;
	}
	public void setProducts(List<DOrderProductDto> products) {
		this.products = products;
	}
	@Override
	public String toString() {
		return "DClientOrderEditDto [ordersId=" + ordersId + ", ClientId=" + ClientId + ", pTotalPrice=" + pTotalPrice
				+ ", dTotalPrice=" + dTotalPrice + ", products=" + products + "]";
	}
}
